projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26f0676
)
Fix xm create -F. This can't be very widely used, because it looks like it's
author
Ewan Mellor
<ewan@xensource.com>
Tue, 5 Sep 2006 16:26:20 +0000
(17:26 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Tue, 5 Sep 2006 16:26:20 +0000
(17:26 +0100)
been broken for ages!
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index 6416aaab3f75fb008a81d473e703ef74d07a318d..bfff93de47df641be89479c2f3aaed1f3789953f 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-1169,6
+1169,9
@@
def main(argv):
if not opts:
return
+ if type(config) == str:
+ config = sxp.parse(file(config))[0]
+
if opts.vals.dryrun:
PrettyPrint.prettyprint(config)
else: